package shayu.product.feign.fallback;

import io.renren.common.exception.BizCodeEnume;
import io.renren.common.utils.R;
import org.springframework.stereotype.Component;
import shayu.product.feign.SeckillFeign;

@Component
public class SeckillFeignServiceFallBck implements SeckillFeign {

    @Override
    public R getSkuSeckillInfo(Long skuId) {
        return R.error(BizCodeEnume.TOO_MAMY_REQUEST.getCode(),BizCodeEnume.TOO_MAMY_REQUEST.getMsg());
    }
}
